{extend name="Public/public"}
{block name="title"}用户组列表{/block}
{block name="main"}

  <div class="col-xs-12"> 
   <div class="table-responsive"> 
    <table id="sample-table-1" class="table table-striped table-bordered table-hover"> 
     <thead> 
      <tr> 
       
       <th>编号</th> 
       <th>用户组名称</th> 
       <th class="hidden-480">描述</th> 
       <th> <i class="icon-time bigger-110 hidden-480"></i>操作</th> 
      </tr> 
     </thead> 
     <tbody> 
     {if condition="is_array($list)"}
      {foreach name="list" item="row"}
      <tr> 
      
       <td>{$row.id}</td> 
       <td>{$row.name}</td> 
        
       <td class="hidden-480">{$row.name}</td> 
       <td> 
        <div class="visible-md visible-lg hidden-sm hidden-xs btn-group"> 
         <a href="/users/edit/id/{$row.id}"><button class="btn btn-xs btn-info"title="修改"> <i class="icon-edit bigger-120"></i></button></a>
         <a href="/users/delete/id/{$row.id}"><button class="btn btn-xs btn-danger"title="删除"> <i class="icon-trash bigger-120"></i></button></a>
         <a href="/power/edit/details/{$row.details}"><button class="btn btn-xs btn-warning"title="分配权限"> <i class="icon-flag bigger-120"></i> </button> </a>
        </div> 
       </td> 
      </tr> 
      {/foreach}
     {/if}
 
      
      
     </tbody> 
    </table> 
   </div>
   <!-- /.table-responsive --> 
  </div>


{/block}